﻿//-----------------------------------------------------------------------
// <copyright file="BookProcessingLogicsBase.cs" company="SampleThreeTier">
//     Sample 3 tier application by Anurag.
// </copyright>
//-----------------------------------------------------------------------
namespace BusinessLogics
{
    using AutoMapper;
    using BusinessEntity;
    using DataAccessLayerData;

    /// <summary>
    /// The book processing logic base
    /// </summary>
    public class BookProcessingLogicsBase
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="BookProcessingLogicsBase"/> class.
        /// </summary>
        public BookProcessingLogicsBase()
        {
            Mapper.CreateMap<BookEntity, BookData>();
            Mapper.CreateMap<BookData, BookEntity>();
        }
    }
}
